package com.example.fengyungo.domain;

public class MessageList {
    /**
     * id
     */
    private String listId;
    /**
     * 司机id
     */
    private String driverId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 用户昵称
     */
    private String userNickname;
    /**
     * 用户头像
     */
    private String userAvatar;
    /**
     * 用户在线状态（0不在线，1在线）
     */
    private Integer userOnline;
    /**
     * 司机未读消息数
     */
    private Integer driverUnread;
    /**
     * 最后一条消息内容
     */
    private String lastContent;
    /**
     * 最后一条消息时间
     */
    private String lastTime;
    /**
     * 司机端列表状态（是否删除）（0存在，1删除）
     */
    private Integer driverListStatus;

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getLastContent() {
        return lastContent;
    }

    public void setLastContent(String lastContent) {
        this.lastContent = lastContent;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public int getDriverUnread() {
        return driverUnread;
    }

    public void setDriverUnread(int driverUnread) {
        this.driverUnread = driverUnread;
    }

    public String getListId() {
        return listId;
    }

    public void setListId(String listId) {
        this.listId = listId;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getUserOnline() {
        return userOnline;
    }

    public void setUserOnline(Integer userOnline) {
        this.userOnline = userOnline;
    }

    public void setDriverUnread(Integer driverUnread) {
        this.driverUnread = driverUnread;
    }

    public Integer getDriverListStatus() {
        return driverListStatus;
    }

    public void setDriverListStatus(Integer driverListStatus) {
        this.driverListStatus = driverListStatus;
    }

    @Override
    public String toString() {
        return "MessageList{" +
                "listId='" + listId + '\'' +
                ", driverId='" + driverId + '\'' +
                ", userId='" + userId + '\'' +
                ", userNickname='" + userNickname + '\'' +
                ", userAvatar='" + userAvatar + '\'' +
                ", userOnline=" + userOnline +
                ", driverUnread=" + driverUnread +
                ", lastContent='" + lastContent + '\'' +
                ", lastTime='" + lastTime + '\'' +
                ", driverListStatus=" + driverListStatus +
                '}';
    }
}
